Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: Creating an agent that selects documents based on date and sends an email to the author
~Umberto Nongeroson 21.Nov.03 11:17 PM a Web browser
Applications Development 6.0.1 Windows XP


Pretty (very) simple to do I've wrote the pseudo code below, it's probably incomplete however.

'//Create selection formula in a scheduled agent, should be something like:

@if(@Adjust(@created;14;5;0;0;0;0);@true;@false))


'//OK - we have the selected documents, now lets send our emails!

'//get document collection using unprocessdocuments
'//loop through the document collection
'//get the name of the person who created the document - preferable abbreviate/canonical format
'//send the person an email (I assume you know how to do this), stating document is going to be deleted (use doc.send)
'//get the next document
'//end the loop

You're users would appreciate it if you included a doclink to the document that is about to be archived, everything here is straightforward script, and there is more that adequate help provide already by IBM.





Creating an agent that selects docu... (~Wei Elavitchfl... 21.Nov.03)
. . RE: Creating an agent that selects ... (~Denise Feznite... 21.Nov.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS